import { Networks } from '@bitgo/statics';
export { testnetMetadataRpc } from './testnet';

export const mockTssSignature =
  'aadae7fa1f53e7a5c900b330ff71bee6782cf3c29a2c6f9599162381cd021ad581c74ded89f49ec79adefed64af8ff16649553523dda9cb4f017cbf15681e50e';

export const accounts = {
  cddProvider: {
    secretKey:
      '360dcfad8fbe6d514e27866ce134fcc458bc450dd2f03600b0a646ec8f5b40245a9f5ba5f51de3a38b1ee7f7e91dc9e844696d7da545d78a14b1635244e34d2a',
    publicKey: '5a9f5ba5f51de3a38b1ee7f7e91dc9e844696d7da545d78a14b1635244e34d2a',
    address: '5E7XWJRysj27EzibT4duRxrBQT9Qfa7Z5nAAvJmvd32nhkjH',
  },
  account1: {
    secretKey:
      'acfa9a91ed11ecc72dc015562fcb28a4b4bbca4b74f7915119578ed4579844c8cd1293d5b2ea6d7c70689079cde9ccc3dd3f4366dff4fa2f3e46ba9ee380df57',
    publicKey: 'cd1293d5b2ea6d7c70689079cde9ccc3dd3f4366dff4fa2f3e46ba9ee380df57',
    address: '5GhbC6n2pUFrX98DwyPit67fB5AwQvVCwZ4j2HKA7a4dUK4y',
  },
  account2: {
    secretKey:
      '3762e05724988ea65f279ab6fad86afd167c55e3ffc95581ba57e94cde25edd88b05a1abbdb30bc3526ab0827c039867f916cdc197825d75d8b9638f9f35dd79',
    publicKey: '8b05a1abbdb30bc3526ab0827c039867f916cdc197825d75d8b9638f9f35dd79',
    address: '5FCzBk7hghZh5pKCEx5Hxu6KQ5jSz5142gioGYUFmKGYmxGF',
  },
  account3: {
    secretKey:
      'eb4beb67a7ed6b5c6816164bcca8065e1723fa0953fe68c389b59c1e48dc4cadd3553b195708ccec89f2dd825a6646407b679772551a144fecb487c108df2e4d',
    publicKey: 'd3553b195708ccec89f2dd825a6646407b679772551a144fecb487c108df2e4d',
    address: '5GqoHB7gdVTw1q7D9aqi5MWfvfGj5J7MYmtgEnbAmH6cwaE6',
  },
  account4: {
    secretKey:
      '30eed3883d41d15a2b8a8beabfefa4b48e4fdae6fd6ebc3b99365c6a1dafccc48493ec2c20033def7f310c5670813ba09406100ad583d501ec299032a8352b32',
    publicKey: '8493ec2c20033def7f310c5670813ba09406100ad583d501ec299032a8352b32',
    address: '5F4Y7vKt46p6i2ZBeWTUgebJ4WHm2tLFmLzdicHebWzQ1U25',
  },
  account5Mainnet: {
    secretKey:
      '52c596e8b3929ea0d98779c438ed5b5fb9377790e02d22f94169191015fcdc06e807800a3dd78c005e144f20df05dba7ffe20b4bcb29f158da3bc30f6d557991',
    publicKey: 'e807800a3dd78c005e144f20df05dba7ffe20b4bcb29f158da3bc30f6d557991',
    address: '2Hh9SU3wwGERBGp1T8BY1T8xp7krH7urC9FsNGSfsyTyED8D',
  },
  account6Mainnet: {
    secretKey:
      '13dcc892835e91ea9e0ed434660aefcea60d1e57187f31fc610a60977586c0bbb5dda9aad5129b4c77b84bb08e662fc1c863a6a16f557a734375edad6d3ccbf7',
    publicKey: 'b5dda9aad5129b4c77b84bb08e662fc1c863a6a16f557a734375edad6d3ccbf7',
    address: '2GZNcm36nErZD3mi619C2iqYWQBRMmeWky9cLnbd2DcAvdxm',
  },
  rbitgoTokenOwner: {
    mnemonic: 'size merry rare ***ory egg aff** orbit mu****** angry miss of*** bu******',
    secretKey:
      '8a09aff194b11b9640d3fe966c056a9ec5aa986a6b9ee66dad1b726f6f35919b96c86fef593f9d35ea70dd519e80dcf50d93630954f8d5c83414ae731129655f',
    publicKey: '96c86fef593f9d35ea70dd519e80dcf50d93630954f8d5c83414ae731129655f',
    address: '5FUQaif4s79d8sibGNdfLHuiyCqh2EmDpyWkjj8yQ5GtUpMV',
  },
};

export const rawTx = {
  transfer: {
    signed:
      '0xc10284000c15e10fc196d9597977f8bfccda53149c4f47f4e9f37a5564c3c6abefb8d52a00924a00f8cf3e73b4e4a66f088f98dfacb0aae9a9814c7bdeb36e7d95181730ae7b9ba648ed0f4e330f44a666e336745d9fb0b2a6bddc2c09d32795c2157a680cb503880005010087c8be067be02a321ad8e946a4a50d71c25b9a640d064ec577d4ef9424b90b460300943577013030303030303030303030303030303030303030303030303030303132333435',
    unsigned:
      '0x250105010087c8be067be02a321ad8e946a4a50d71c25b9a640d064ec577d4ef9424b90b460300943577013030303030303030303030303030303030303030303030303030303132333435a503900090d76a00070000002ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6e5c5396f3291d2575d138b98d34eac2fc156e5280276f57a30a8e3b8fbc49bfc',
  },
  cddTransaction: {
    signed:
      '0x2d0284005a9f5ba5f51de3a38b1ee7f7e91dc9e844696d7da545d78a14b1635244e34d2a00bb9ce1ddfda6d60e8169d2cab37e57ca1b1d8592f3caacc25b80d23f4c29c1efd096c9afbd86148c12e68570bab4ed3965b3180570293ea4be6f849ba362d80345030400071460b685d82b315b70d7c7604f990a05395eab09d5e75bae5d2c519ca1b01e25e50000',
    unsigned:
      '0x90071460b685d82b315b70d7c7604f990a05395eab09d5e75bae5d2c519ca1b01e25e500004503040090d76a00070000002ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6cbd4f0bb74e13c8c4da973b1a15c3df61ae3b82677b024ffa60faf7799d5ed4b',
  },
  unstake: {
    signed:
      '0xcd018400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd538011a740e63a85858c9fa99ba381ce3b9c12db872c0d976948df9d5206f35642c78a8c25a2f927b569a163985dcb7e27e63fe2faa926371e79a070703095607b787d502180029020811061102034353c5b3',
    unsigned: '0x340429020811061102034353c5b3',
  },
  withdrawUnbonded: {
    signed:
      '0xb5018400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd53801a67640e1f61a3881a6fa3d093e09149f00a75747f47facb497689c6bb2f71d49b91ebebe12ccc2febba86b6af869c979053b811f33ea8aba48938aff48b56488a5012000110300000000',
    unsigned: '0x1c04110300000000',
  },
  preApproveAsset: {
    signed:
      '0xe50184003e8fb905c81ee890e1633eece41f5857ede126ae0a1f5744af8b86456cd77cc700686806a612886c63d2b0f22ed08a68dbf5833bac402856cc802f42e486d5292edde9d61cccedd0900fc70d1c9b34fec763a50338c966ed3f45f2d92366068f05950104001a1b780602887b358cf48989d0d9aa6c8d28',
    unsigned:
      '0x481a1b780602887b358cf48989d0d9aa6c8d28c50104007bdb6a00070000002ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d652faf239b4ff396040d709b32840d05b5e7885009b9f198b01fe1a395d3e1306',
  },
  tokenTransfer: {
    signed:
      '0x55048400e8164bbe81964be28292d96f62c2ef6117d911638f38ae1b1bbe69df0b6df12700f9be0f56fdfb2bbdb1411063eb1583a5e9264408095d52d07c8a511cb5e26e81c33d38e28c08c69b73de119c3cc89c9aa69909b528e2dc1b612e1e3f09983f0b55000c0025140000000004001208d7851e6698249aea40742701ee1ef6cdcced260a7c49c1cca1a9db83634200bc6f7ec808f361c1353ab9dc88c3cc54b98d9eb60fed9c063e67a40925b8ef6100780602887b358cf48989d0d9aa6c8d2840420f00000000000000000000000000041208d7851e6698249aea40742701ee1ef6cdcced260a7c49c1cca1a9db8363420001300000000000000000000000000000000000000000000000000000000000000000',
    unsigned:
      '0xb90225140000000004001208d7851e6698249aea40742701ee1ef6cdcced260a7c49c1cca1a9db83634200bc6f7ec808f361c1353ab9dc88c3cc54b98d9eb60fed9c063e67a40925b8ef6100780602887b358cf48989d0d9aa6c8d2840420f00000000000000000000000000041208d7851e6698249aea40742701ee1ef6cdcced260a7c49c1cca1a9db836342000130000000000000000000000000000000000000000000000000000000000000000055000c007bdb6a00070000002ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d639fe96f0dab5a96e118de830dc1f5d0105adeae3f3208ce95e8e03494456e191',
  },
  rejectInstruction: {
    signed:
      '0x49028400e8164bbe81964be28292d96f62c2ef6117d911638f38ae1b1bbe69df0b6df127004a08d9ccbb4b157c3df4b3e7a8bc602e6f5fab075a4bf36b29963a9a8926d16b280c2e514e534d42bcf3173372c619449c595d6183a9fbe5f9a8efe9c5b6100965034800250d14370000000000001208d7851e6698249aea40742701ee1ef6cdcced260a7c49c1cca1a9db83634200',
    unsigned:
      '0xac250d14370000000000001208d7851e6698249aea40742701ee1ef6cdcced260a7c49c1cca1a9db8363420025014c007bdb6a00070000002ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6ffecb4672251137ef38c9aca7c031e578ae13c376c1699fc9cc094c29e16c7df',
  },
};

export const stakingTx = {
  bond: {
    unsigned: '0x9c04110000bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd538419c00',
    signed:
      '0x35028400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd5380100066429bde7f75f50a792dba137a524611debd57018c908f8daa6f94a6e246ac60d839b69f0f7df6f916913d9dccb709ad56857f866c3775d7ffcb5d764f38fe5020c00110000bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd538419c00',
  },
  bondExtra: {
    unsigned:
      '0xad018400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd53801201199a43e8ee9fec776ac0045120e54b61edd4da8b949993772c7d0184e682a5fd3e2f64e0164a10b9ff837928c8b658398b292012bab5b7a377e654a302b81750108001101a10f',
    signed:
      '0xad018400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd53801201199a43e8ee9fec776ac0045120e54b61edd4da8b949993772c7d0184e682a5fd3e2f64e0164a10b9ff837928c8b658398b292012bab5b7a377e654a302b81750108001101a10f',
  },
  unbond: {
    unsigned: '0x110202093d00',
    signed:
      '0xb50184001ed73dfc30f7b1359d92004d6954ea47a1e447f813f637ec44302a9f6d773d4a01064b7f75e4b40e15abaadcdb694d4d258e4c2f19227ce7cf63f2bad4b69cda1e5f6307f4ef4f79eb7642a6a85801a80f477d7d50d26c19cf643e2fca9314d78025033c00110202093d00',
  },
  batch: {
    bondAndNominate: {
      unsigned:
        '0x390104290208110000bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd538419c0011050400025237fdbea82f075296416fa096d3b9807c4f8763d7c3474fdd747007379811',
      signed:
        '0xd1028400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd53801827094e5b2d893714b5b594d9baef8b039fa1a7fc920d57707d13bc8fa7cf71c76b26cc6651c0c07735c4090c4cfaf6f226e05d92a407fef8402562dcad77188f5021400290208110000bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd538419c0011050400025237fdbea82f075296416fa096d3b9807c4f8763d7c3474fdd747007379811',
    },
    bondOnly: {
      unsigned: '0xa804290004110000bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd538419c00',
      signed:
        '0x41028400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd53801fe099ee680b721ed0b14533ef3a02829f342201ccf23b6fa3f7b80cc8c00244f63443d16411b667114d156fb14b4b3c939dbe373887aa1569577bfda15f5608ff5021400290004110000bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd538419c00',
    },
    nominateOnly: {
      unsigned: '0xa00429000411050400025237fdbea82f075296416fa096d3b9807c4f8763d7c3474fdd747007379811',
      signed:
        '0x39028400bec110eab4d327d3b2b6bb68e888654a474694d3935ce35bd3926e4bc7ebd53801a6694a8d10afa4ff84621de36e6b468ad30971261b752435966ca00f50578505fc1fb4951d10ebbb9bce8b5fa7aaf047195f58ea7418da0b20fb279636200384f502140029000411050400025237fdbea82f075296416fa096d3b9807c4f8763d7c3474fdd747007379811',
    },
  },
};

export const { txVersion, specVersion, genesisHash, chainName, specName } = Networks.test.polyx;
export const {
  txVersion: mainTxVersion,
  specVersion: mainSpecVersion,
  genesisHash: mainGenesisHash,
  chainName: mainChainName,
  specName: mainSpecName,
} = Networks.main.polyx;
